@import '../style/common.less';

.@{cardPrefix} {
  border-radius: 4px;
  background-color: #fff;
  color: #303133;
  transition: 0.2s linear;

  &-border {
    border: 1px solid var(--gratify-border-color);
  }

  &:not(&-border) {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 3%), 0 1px 6px -1px rgba(0, 0, 0, 2%),
      0 2px 4px 0 rgba(0, 0, 0, 2%);
  }

  &-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gratify-border-color);

    &-small {
      padding: 8px 10px;
    }

    &:not(&-small) {
      padding: 16px 20px;
    }
  }

  &-content {
    &-small {
      padding: 10px;
    }

    &:not(&-small) {
      padding: 20px;
    }
  }
}
